← Back to issue list

Content interface parsing too lenient

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1666739
Type
issue
State
open
Author
~michihenning
Labels
Created
2017-02-22 01:14:55.017152+00:00
Updated
2017-02-24 16:59:51.194186+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

The following is accepted by snapcraft without error: client-libs: interface: content content: client-libs read: $SNAP/lib/client When installing the snap, I get the message: ... bad plugs or slots client-libs (read or write path must be set) The above should be instead: client-libs: interface: content content: client-libs read: [$SNAP/lib/client] Or: client-libs: interface: content content: client-libs read: - $SNAP/lib/client snapcraft should tell me that my yaml is invalid instead of silently failing to set the attribute.

Evaluation history

No evaluation history available.